network iptables addrule
Add an ACCEPT or DROP rule to the iptables firewall for the appliance.
Warning
These rules govern network access to the appliance. Adding a malformed rule may cause a lockout.
Note
You must use the network iptables save command to save your changes. Failure to do so will result in your changes being discarded on the next appliance restart. For more information, refer to network iptables save.
User access
admin
Syntax
network iptables addrule
accept
drop
Argument(s) | Shortcut | Description |
---|---|---|
accept | a | Add a host or network ACCEPT rule to the iptables firewall for the appliance. See network iptables addrule accept. |
drop | d | Add a host or network DROP rule to the iptables firewall for the appliance. See network iptables addrule drop. |